package com.weir.workdemo.work01.future.utils;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

/**
 * @author weir
 */
    public class Main {
        public static void main(String[] args) {
            Map<String, Integer> map = new ConcurrentHashMap<>(16);
            map.computeIfAbsent(
                    "AaAa",
                    key -> {
                        return map.computeIfAbsent(
                                "BBBB",
                                key2 -> 42);
                    }
            );
        }
    }
